///用户model
class UserModel {
  String companyName;
  String mobile;
  String updateTime;
  String title;
  String url;
  String lastLoginIp;
  String titleStr;
  String lastLoginTime;
  int companyId;
  String createTime;
  String name;
  int id;
  String username;
  int status;

  UserModel({this.companyName, this.mobile, this.updateTime, this.title, this.url, this.lastLoginIp, this.titleStr, this.lastLoginTime, this.companyId, this.createTime, this.name, this.id, this.username, this.status});

  UserModel.fromJson(Map<String, dynamic> json) {
    companyName = json['companyName'];
    mobile = json['mobile'];
    updateTime = json['updateTime'];
    title = json['title'];
    url = json['url'];
    lastLoginIp = json['lastLoginIp'];
    titleStr = json['titleStr'];
    lastLoginTime = json['lastLoginTime'];
    companyId = json['companyId'];
    createTime = json['createTime'];
    name = json['name'];
    id = json['id'];
    username = json['username'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['companyName'] = this.companyName;
    data['mobile'] = this.mobile;
    data['updateTime'] = this.updateTime;
    data['title'] = this.title;
    data['url'] = this.url;
    data['lastLoginIp'] = this.lastLoginIp;
    data['titleStr'] = this.titleStr;
    data['lastLoginTime'] = this.lastLoginTime;
    data['companyId'] = this.companyId;
    data['createTime'] = this.createTime;
    data['name'] = this.name;
    data['id'] = this.id;
    data['username'] = this.username;
    data['status'] = this.status;
    return data;
  }
}
